import 'package:regsiter_center/register_center_helper.dart';
import 'package:regsiter_center/register_model.dart';
import 'package:dio/dio.dart';
/**
 *
 * @ProjectName:    login_model
 * @ClassName:      model_center
 * @Description:    dart类作用描述
 * @Author:         孙浩
 * @QQ:             243280864
 * @CreateDate:     2021/1/8 5:59 PM
 */
class LoginModelCenter extends RegisterModel{
  RegisterCenterHelper modelRegisterCenter;
  Dio dio;

  initCenterHelper(RegisterCenterHelper registerHelper){
    modelRegisterCenter = registerHelper;
  }

  initDio(Dio dio){
    this.dio = dio;
  }

  factory LoginModelCenter() =>_getInstance();
  static LoginModelCenter get instance => _getInstance();
  static LoginModelCenter _instance;
  LoginModelCenter._internal() {
    // 初始化
  }
  static LoginModelCenter _getInstance() {
    if (_instance == null) {
      _instance = new LoginModelCenter._internal();
    }
    return _instance;
  }


  @override
  unbindToken() {

  }

  @override
  bindToken(String token, String refreshToken) {

  }

}